package com.key.win.business.meeting.vo;

import com.key.win.business.meeting.enums.MtRecordingOriginEnum;
import com.key.win.business.meeting.enums.MtTargetEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("[音频/视频/图片]录制Vo")
@Data
public class MtRecordingVo implements Serializable {
    /*"id": "SessionA-7",
    "object": "recording",
    "name": "SessionA-7",
    "outputMode": "INDIVIDUAL",
    "sessionId": "SessionA",
    "createdAt": 1649296177185,
    "size": 1069883,
    "duration": 6.274,
    "url": "https://192.168.1.240/openvidu/recordings/SessionA-7/SessionA-7.zip",
    "hasAudio": true,
    "hasVideo": true,
    "status": "ready"*/
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("object")
    private String object;
    @ApiModelProperty("name")
    private String name;
    @ApiModelProperty("会议录制模式")
    private String outputMode;
    @ApiModelProperty("录制所属会话的唯一标识符")
    private String sessionId;
    @ApiModelProperty("记录开始时间，以UTC毫秒为单位")
    private long createdAt;
    @ApiModelProperty("视频文件大小")
    private long size;
    @ApiModelProperty("视频文件的持续时间")
    private double duration;
    @ApiModelProperty("url")
    private String url;
    @ApiModelProperty("是否有录制音频")
    private boolean hasAudio;
    @ApiModelProperty("是否有录制视频")
    private boolean hasVideo;
    @ApiModelProperty("是否有截屏")
    private boolean hasImage;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("会议文件的来源")
    private MtRecordingOriginEnum origin;
    @ApiModelProperty("分辨率")
    private String resolution;
    @ApiModelProperty("目标类型")
    private MtTargetEnum targetType;
    @ApiModelProperty("目标Id")
    private String targetId;
    @ApiModelProperty("目标Name")
    private String targetName;

}
